package com.entity;


public class Size {
    private float length;
    private float width;
    private float height;

    public Size(){
        this.length=0;
        this.width=0;
    }

    public Size(float l,float w,float h){
        this.length=l;
        this.width=w;
        this.height=h;
    }

    public float getLength() {
        return length;
    }

    public void setLength(float length) {
        this.length = length;
    }

    public float getWidth() {
        return width;
    }

    public void setWidth(float width) {
        this.width = width;
    }

    public void Add(Size s){
        this.length+=s.length;
        this.width+=s.width;
    }

    public float getHeight() {
        return height;
    }

    public void setHeight(float height) {
        this.height = height;
    }
}
